/*
 * Position.h
 *
 *  Created on: 2011-7-28
 *      Author: Administrator
 */

#ifndef POSITION_H_
#define POSITION_H_

class Position {
public:
	Position();
	Position(int x,int y);
	virtual ~Position();
	Position(const Position & pos);
	friend	bool  operator==(const Position& pos1,const   Position&   pos2);
	Position& operator=(const Position & pos);
	inline int GetX(){
		return x;
	}
	inline int GetY(){
		return y;
	}
private:
	int x;
	int y;
};

#endif /* POSITION_H_ */
